import schedule
import time
import sys
sys.path.append('D:/BaiduNetdiskDownload/quant_jingjia')
from Business.Jingjia import Jingjia


def runjj():
    jj = Jingjia()
    jj.run2()


# 定义每天9:25运行run函数
schedule.every().day.at("09:25").do(runjj)

# 无限循环，让schedule持续运行
while True:
    schedule.run_pending()
    time.sleep(1)
